This page describes various tools that help you create, configure, and run your tests from Android Studio or the command line. Test in Android Studio · Espresso Test Recorder · Test from the command line
Run tests · Press the Run test icon in the gutter. · Right-click on the test class or method and click Run . · Select the test class or method and ... Test types and locations · Create new tests · Run tests · Run with Firebase Test Lab
Firebase Test Lab provides cloud-based infrastructure for testing Android apps, and features full integration with Android Studio for running instrumented ...
Right-click your test case and select the JUnit flavor. BTW, it seems to toggle the visibility of the JUnit/Android tests when you change the Build Variants ...